﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RM2012Server.Business
{
    public class InventoryInfo
    {
        private String inventoryId;
        public System.String InventoryId
        {
            get { return inventoryId; }
            set { inventoryId = value; }
        }
        private String typeId;
        public System.String TypeId
        {
            get { return typeId; }
            set { typeId = value; }
        }
        private DateTime inventoryDate;
        public System.DateTime InventoryDate
        {
            get { return inventoryDate; }
            set { inventoryDate = value; }
        }
        private String supplierId;
        public System.String SupplierId
        {
            get { return supplierId; }
            set { supplierId = value; }
        }
        private String userId;
        public System.String UserId
        {
            get { return userId; }
            set { userId = value; }
        }
        private double total;
        public double Total
        {
            get { return total; }
            set { total = value; }
        }
        private double discount;
        public double Discount
        {
            get { return discount; }
            set { discount = value; }
        }
        private double vat;
        public double Vat
        {
            get { return vat; }
            set { vat = value; }
        }
        private bool isDeleted;
        public bool IsDeleted
        {
            get { return isDeleted; }
            set { isDeleted = value; }
        }
        private String remark;
        public System.String Remark
        {
            get { return remark; }
            set { remark = value; }
        }
        public InventoryInfo()
        {

        }

        public InventoryInfo(String inventoryId, String typeId, DateTime inventoryDate, String supplierId, String userId, double total, double discount, double vat, bool isDeleted, String remark)
        {
            this.inventoryId = inventoryId;
            this.typeId = typeId;
            this.inventoryDate = inventoryDate;
            this.supplierId = supplierId;
            this.userId = userId;
            this.total = total;
            this.discount = discount;
            this.vat = vat;
            this.isDeleted = isDeleted;
            this.remark = remark;
        }
    }
}
